solving rational inequalities